$('#all_orders').html("<%= escape_javascript(render :partial => 'orders/index.html', :locals => {:orders => @orders})%>");
$('#stats').html("<%= escape_javascript(render :partial => 'orders/stats_in_index.html')%>");
